.Net Framework > v3.5.21022.8 > System > Collections > Generic > HashSet<T> > HashSet<T> HashSet<T>()
HashSet<T>(IEnumerable<T>)
HashSet<T>(IEnumerable<T>,IEqualityComparer<T>)
HashSet<T>(IEqualityComparer<T>)
HashSet<T>(SerializationInfo,StreamingContext)


HashSet<T>()

Category
Constructor
Description
Initializes a new instance of the System.Collections.Generic.HashSet`1 class that is empty and uses the default equality comparer for the set type.
Type
void
Character
public
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

HashSet<T>(IEnumerable<T>)

Category
Constructor
Description
Initializes a new instance of the System.Collections.Generic.HashSet`1 class that uses the default equality comparer for the set type, contains elements copied from the specified collection, and has sufficient capacity to accommodate the number of elements copied.
Type
void
Character
public
Parameters
NameTypeDescription
collectionSystem.Collections.Generic.IEnumerable<T>
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

HashSet<T>(IEnumerable<T>,IEqualityComparer<T>)

Category
Constructor
Description
Initializes a new instance of the System.Collections.Generic.HashSet`1 class that uses the specified equality comparer for the set type, contains elements copied from the specified collection, and has sufficient capacity to accommodate the number of elements copied.
Type
void
Character
public
Parameters
NameTypeDescription
collectionSystem.Collections.Generic.IEnumerable<T>
comparerSystem.Collections.Generic.IEqualityComparer<T>
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

HashSet<T>(IEqualityComparer<T>)

Category
Constructor
Description
Initializes a new instance of the System.Collections.Generic.HashSet`1 class that is empty and uses the specified equality comparer for the set type.
Type
void
Character
public
Parameters
NameTypeDescription
comparerSystem.Collections.Generic.IEqualityComparer<T>
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

HashSet<T>(SerializationInfo,StreamingContext)

Category
Constructor
Description
Initializes a new instance of the System.Collections.Generic.HashSet`1 class with serialized data.
Type
void
Character
family
Parameters
NameTypeDescription
infoSerializationInfo
contextStreamingContext
Tags
0104BC7FDA, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database